import request from '@/utils/request'
let baseUrl =
  process.env.NODE_ENV === 'production' ? '/api/riskGateway' : 'riskGateway'
// 对账单
export const getStatement = (data?: any) =>
  request({
    baseURL: baseUrl,
    url: '/datasource-statistics/statement',
    method: 'post',
    data
  })
// 对账单下载
export const listDownload = (data?: any) =>
  request({
    baseURL: baseUrl,
    url: '/datasource-statistics/statement-list-download',
    method: 'post',
    responseType: 'blob',
    data
  })
